package com.packenius.library.xspdf;

/**
 * Representation of an image on the page.
 * @author Christian Packenius, 2013.
 */
class XSImage {
  final String imageID;

  final double x, y, width, height;

  final int realPixelWidth, realPixelHeight;

  final double margin;

  final XSLink link;

  XSImage(String imageID, double x, double y, double width, double height, int realPixelWidth, int realPixelHeight,
      double margin, XSLink link) {
    this.imageID = imageID;
    this.x = x;
    this.y = y;
    this.width = width;
    this.height = height;
    this.realPixelWidth = realPixelWidth;
    this.realPixelHeight = realPixelHeight;
    this.margin = margin;
    this.link = link;
  }
}
